package com.zp.system.entity.bo;

import com.zp.common.core.entity.BaseEntity;
import com.zp.common.core.validate.AddGroup;
import com.zp.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;


/**
 * 字典与诊疗项目对照业务对象
 *
 * @author zhang peng
 * @ date 2024-03-09
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class DictVsClinicBo extends BaseEntity {

    /**
     * 字典id
     */
    @NotBlank(message = "字典id不能为空", groups = {AddGroup.class, EditGroup.class})
    private String baseDictId;

    /**
     * 诊疗项目ID
     */
    @NotBlank(message = "诊疗项目ID不能为空", groups = {AddGroup.class, EditGroup.class})
    private String clinicItemId;

    /**
     * 执行科室
     */
    @NotBlank(message = "执行科室不能为空", groups = {AddGroup.class, EditGroup.class})
    private String implementDept;

    /**
     * 机构ID
     */
    @NotBlank(message = "机构ID不能为空", groups = {AddGroup.class, EditGroup.class})
    private String orgId;

    /**
     * 门诊住院标识
     */
    @NotBlank(message = "门诊住院标识不能为空", groups = {AddGroup.class, EditGroup.class})
    private String outpOrInp;


}
